Automattic\Jetpack\Sync\Replicastore D

Total Complexity 141
Dependencies 9
Dependents 6
Total lines 1,438
Lines of code 603
Logical lines of code 302
Comment lines 689
Methods 67
Properties 0

Methods 67

Method Rating Maintainability Complexity Lines of code
checksum_histogram()
A
43 13 46
comment_status_to_approval_value()
A
56 10 20
calculate_buckets()
S
54 6 20
checksum_all()
S
48 5 34
upsert_post()
S
44 4 46
upsert_comment()
S
47 4 39
delete_object_terms()
S
52 5 22
upsert_metadata()
S
49 3 36
post_count()
S
57 4 16
comment_count()
S
57 4 16
delete_metadata()
S
60 4 13
get_min_max_object_id()
S
60 4 11
reset()
S
56 3 18
update_term()
S
49 2 31
ensure_taxonomy()
S
59 3 15
get_term()
S
63 4 10
delete_batch_metadata()
S
60 3 12
get_table_checksum_instance()
S
65 3 9
get_terms()
S
69 3 7
get_posts()
S
62 2 12
get_comments()
S
65 2 10
summarize_checksum_histogram()
S
70 2 7
get_callable()
S
69 2 7
get_updates()
S
67 2 8
get_constant()
S
69 2 7
get_user()
S
80 1 3
get_the_terms()
S
79 1 3
get_post()
S
80 1 3
delete_term()
S
76 1 4
update_object_terms()
S
75 1 4
user_count()
S
91 1 2
full_sync_end()
S
91 1 2
upsert_user()
S
82 1 3
invalid_call()
S
72 1 5
delete_post()
S
80 1 3
upsert_user_locale()
S
82 1 3
delete_user_locale()
S
82 1 3
get_user_locale()
S
80 1 3
get_allowed_mime_types()
S
91 1 2
term_relationship_count()
S
75 1 4
term_taxonomy_count()
S
75 1 4
term_count()
S
75 1 4
get_checksum_type()
S
82 1 3
delete_user()
S
82 1 3
get_comment()
S
80 1 3
posts_checksum()
S
78 1 3
delete_option()
S
80 1 3
delete_comment()
S
80 1 3
spam_comment()
S
81 1 3
trashed_post_comments()
S
81 1 3
untrashed_post_comments()
S
81 1 3
comments_checksum()
S
78 1 3
comment_meta_checksum()
S
78 1 3
update_option()
S
79 1 3
get_option()
S
79 1 3
set_theme_info()
S
91 1 2
trash_comment()
S
81 1 3
current_theme_supports()
S
80 1 3
get_metadata()
S
78 1 3
post_meta_checksum()
S
78 1 3
full_sync_start()
S
82 1 3
set_constant()
S
79 1 3
set_updates()
S
72 1 5
set_callable()
S
79 1 3
get_site_option()
S
79 1 3
update_site_option()
S
78 1 3
delete_site_option()
S
79 1 3